package com.findyou.entity;

/**
 * @Title: Occupation
 * @Author 贾金博
 * @Package com.findyou.entity
 * @Date 2024/10/24 上午11:09
 * @description: 职业
 */
public class Occupation {
    int id;
    String name;
    String desc; // 描述


    public Occupation() {
    }

    public Occupation(int id, String name, String desc) {
        this.id = id;
        this.name = name;
        this.desc = desc;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * 设置
     * @param desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String toString() {
        return "Occupation{id = " + id + ", name = " + name + ", desc = " + desc + "}";
    }

}
